#SHEET DATA PARSER
DATA_OUT_OF_BOUND = 300

# GENERAL ERROR
LOAD_FILE_IO_ERROR = 401  # 装载模拟数据出错
UNKNOWN_FILE_FORMAT = 402  # 保存数据时，格式无法识别
UNKNOWN_FILE_NAME = 403  # 装载数据时未指明文件名

# SERVER ERROR
SEND_INSTRUCT_ERROR = 201  # 发送指令到雷达失败时抛出的错误
EMPTY_DATA_ERROR = 202  # 发送空指令给雷达时抛出的错误
DISCONNECT_ERROR = 203  # 在连接断开后尝试发送或者接收信息抛出
COLLECT_DATA_EXCEPTION = 204  #
START_SERVER_EXCEPTION = 205
UDP_CONFIG_EXCEPTION = 206  # 服务器配置错误启动失败

# SAVE DATA ERROR
SAVE_PICKLE_ERROR = 301
SAVE_YAML_EXCEPTION = 302
SAVE_YAML_DATA_FORMAT_EXCEPTION = 303
SAVE_DRONE_DATA_EXCEPTION = 304

# IMAGERY ERROR
DIM_INV_EXCEPTION = 501
EULER_IMAGERY_EXCEPTION = 502
IMAGERY_DATA_LEN_EXCEPTION = 503  # 经纬度长度为0

# SERIAL ERROR
SERIAL_CONNECT_EXCEPTION = 601
SERIAL_DISCONNECT_FAILURE = 602
SERIAL_NO_RETURN_DATA = 603
SERIAL_IS_NOT_READY = 604
